Optimal. Leaf size=197 \[ \frac {b c^3 d x^2 \sqrt {d-c^2 d x^2}}{4 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {3}{2} c^2 d x \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac {\left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )}{x}+\frac {3 c d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{4 b \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b c d \sqrt {d-c^2 d x^2} \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.17, antiderivative size = 197, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 6, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {5928, 5895,
5893, 30, 74, 14} \begin {gather*} -\frac {3}{2} c^2 d x \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )+\frac {3 c d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{4 b \sqrt {c x-1} \sqrt {c x+1}}-\frac {\left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )}{x}+\frac {b c d \log (x) \sqrt {d-c^2 d x^2}}{\sqrt {c x-1} \sqrt {c x+1}}+\frac {b c^3 d x^2 \sqrt {d-c^2 d x^2}}{4 \sqrt {c x-1} \sqrt {c x+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 30
Rule 74
Rule 5893
Rule 5895
Rule 5928
Rubi steps
\begin {align*} \int \frac {\left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )}{x^2} \, dx &=-\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \int \frac {(-1+c x)^{3/2} (1+c x)^{3/2} \left (a+b \cosh ^{-1}(c x)\right )}{x^2} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {d (1-c x) (1+c x) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{x}-\frac {\left (b c d \sqrt {d-c^2 d x^2}\right ) \int \frac {-1+c^2 x^2}{x} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (3 c^2 d \sqrt {d-c^2 d x^2}\right ) \int \sqrt {-1+c x} \sqrt {1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {3}{2} c^2 d x \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac {d (1-c x) (1+c x) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{x}-\frac {\left (b c d \sqrt {d-c^2 d x^2}\right ) \int \left (-\frac {1}{x}+c^2 x\right ) \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (3 c^2 d \sqrt {d-c^2 d x^2}\right ) \int \frac {a+b \cosh ^{-1}(c x)}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (3 b c^3 d \sqrt {d-c^2 d x^2}\right ) \int x \, dx}{2 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=\frac {b c^3 d x^2 \sqrt {d-c^2 d x^2}}{4 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {3}{2} c^2 d x \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac {d (1-c x) (1+c x) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{x}+\frac {3 c d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{4 b \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b c d \sqrt {d-c^2 d x^2} \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.69, size = 223, normalized size = 1.13 \begin {gather*} \frac {1}{8} \left (-\frac {4 a d \left (2+c^2 x^2\right ) \sqrt {d-c^2 d x^2}}{x}+12 a c d^{3/2} \text {ArcTan}\left (\frac {c x \sqrt {d-c^2 d x^2}}{\sqrt {d} \left (-1+c^2 x^2\right )}\right )+4 b c d \sqrt {d-c^2 d x^2} \left (-\frac {2 \cosh ^{-1}(c x)}{c x}+\frac {\cosh ^{-1}(c x)^2+2 \log (c x)}{\sqrt {\frac {-1+c x}{1+c x}} (1+c x)}\right )+\frac {b c d \sqrt {d-c^2 d x^2} \left (2 \cosh ^{-1}(c x)^2+\cosh \left (2 \cosh ^{-1}(c x)\right )-2 \cosh ^{-1}(c x) \sinh \left (2 \cosh ^{-1}(c x)\right )\right )}{\sqrt {\frac {-1+c x}{1+c x}} (1+c x)}\right ) \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(426\) vs.
\(2(169)=338\).
time = 3.97, size = 427, normalized size = 2.17
method | result | size |
default | \(-\frac {a \left (-c^{2} d \,x^{2}+d \right )^{\frac {5}{2}}}{d x}-a \,c^{2} x \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}}-\frac {3 a \,c^{2} d x \sqrt {-c^{2} d \,x^{2}+d}}{2}-\frac {3 a \,c^{2} d^{2} \arctan \left (\frac {\sqrt {c^{2} d}\, x}{\sqrt {-c^{2} d \,x^{2}+d}}\right )}{2 \sqrt {c^{2} d}}+\frac {3 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \mathrm {arccosh}\left (c x \right )^{2} c d}{4 \sqrt {c x -1}\, \sqrt {c x +1}}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c^{4} d \,\mathrm {arccosh}\left (c x \right ) x^{3}}{2 \left (c x +1\right ) \left (c x -1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c^{3} d \,x^{2}}{4 \sqrt {c x +1}\, \sqrt {c x -1}}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c d \,\mathrm {arccosh}\left (c x \right )}{\sqrt {c x +1}\, \sqrt {c x -1}}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c^{2} d \,\mathrm {arccosh}\left (c x \right ) x}{2 \left (c x +1\right ) \left (c x -1\right )}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c d}{8 \sqrt {c x +1}\, \sqrt {c x -1}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \mathrm {arccosh}\left (c x \right ) d}{\left (c x +1\right ) \left (c x -1\right ) x}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \ln \left (1+\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right ) c d}{\sqrt {c x -1}\, \sqrt {c x +1}}\) | \(427\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac {3}{2}} \left (a + b \operatorname {acosh}{\left (c x \right )}\right )}{x^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )\,{\left (d-c^2\,d\,x^2\right )}^{3/2}}{x^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________